PROJECT(cli)
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)

SET(SRC_LIST cliUtil.cc)

ADD_LIBRARY(cliutil STATIC ${SRC_LIST})

ADD_EXECUTABLE(cli cli.cc)
TARGET_LINK_LIBRARIES(cli cm syscore cliutil clogger)

ADD_EXECUTABLE(cliServer cliServer.cc)
TARGET_LINK_LIBRARIES(cliServer cm syscore )

ADD_EXECUTABLE(cliUtilTest cliUtilTest.cc)
TARGET_LINK_LIBRARIES(cliUtilTest cliutil)

INSTALL(TARGETS cli
    RUNTIME DESTINATION bin
    LIBRARY DESTINATION lib
)
